package cn.net.xyan.easy.webapp.base.api.dto;

import cn.net.xyan.easy.webapp.base.service.ISecurityService;

import java.io.Serializable;
import java.util.List;

/**
 * Created by xiashenpin on 16/1/24.
 */
public class CommitUpdatePermissionForUserReq implements Serializable {

    public static Integer Add = ISecurityService.Add;
    public static Integer Remove = ISecurityService.Remove;
    //1 add 2 remove
    Integer command;
    String username;
    List<String> permissions;
    List<String> groups;

    public Integer getCommand() {
        return command;
    }

    public void setCommand(Integer command) {
        this.command = command;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public List<String> getPermissions() {
        return permissions;
    }

    public void setPermissions(List<String> permissions) {
        this.permissions = permissions;
    }

    public List<String> getGroups() {
        return groups;
    }

    public void setGroups(List<String> groups) {
        this.groups = groups;
    }
}
